package com.biz.primus.ms.commodity.dao.redis;

import com.biz.primus.base.redis.CrudRedisDao;
import com.biz.primus.ms.commodity.dao.ro.DepotProductRo;
import org.springframework.stereotype.Repository;

import java.io.Serializable;
import java.util.List;

/**
 * Created by jiangnan on 2017/6/23.
 */
@Repository
public class DepotProductRedisDao extends CrudRedisDao<DepotProductRo, String> implements Serializable {

    public void deleteAll(List<DepotProductRo> depotProductRos){
        for (DepotProductRo depotProductRo : depotProductRos) {
            super.delete(depotProductRo);
        }
    }
}
